var ClubMemberLogItem = Item.extend({
    _ccsFileName: res.ClubMemberLogItem_json,
    initItem: function (clubId, data) {
        this._msgData = data;
        this._clubId = clubId;
    },
    refreshData: function (clubId, data) {
        this._nodeList['lb_name'].setString(ellipsisStr(data.data.name, ClubDataManager.NirckNameSize) || '');
        this._nodeList['lb_id'].setString('ID:' + (data.data.uid || data.data.obj_id));
        this._nodeList['lb_option_id'].setString('操作人ID:' + data.op);
        if (data.data.head) {
            loadImageToSprite(data.data.head, this._nodeList['head'], true);
        }
        var name = ellipsisStr(data.data.name, ClubDataManager.NirckNameSize) || data.data.obj_id || data.data.uid;
        if (data.data.cmd == 'leaveClub') { //自己离开亲友圈
            this._nodeList['lb_option_id'].setVisible(false);
            this._nodeList['lb_content'].setString('离开亲友圈');
            this._nodeList['lb_content'].setPositionY(38);
        } else if (data.data.cmd == 'agreeClub') { //同意加入亲友圈
            this._nodeList['lb_content'].setString('同意【' + name + '】加入亲友圈');
        } else if (data.data.cmd == 'addClubMember') { //邀请加入亲友圈
            this._nodeList['lb_content'].setString('邀请【' + name + '】加入亲友圈');
        } else if (data.data.cmd == 'removeClubMember') { //踢出亲友圈
            this._nodeList['lb_content'].setString('将【' + name + '】踢出亲友圈');
        }
        this._nodeList['lb_time'].setString(data.create_time);
    }
});